<!--
/**************************************************
* @(#)checkManufacture.jsp
*
* Copyright (c) 2005 Hitrust Technology Inc.
* Developed by SDC, Hitrust.
* All Rights Reserved.
*
* Modify History:
*  v1.00, 2006/02/08, SimonyiPeng
*  1) first release
/**************************************************
-->

<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<%@ include file="../../common.jsp" %>
<SCRIPT language="JavaScript" src="<%=root%>/js/common.js"></SCRIPT>
<SCRIPT language="JavaScript" src="<%=root%>/js/string.js"></SCRIPT>
<html>
<body>
<form name="checkform" method="post">
	<input type="hidden" id="gs_provider_id" name="gs_provider_id" >
	<input type="hidden" id="gs_provider_shortname" name="gs_provider_shortname" >
	<input type="hidden" id="gs_provider_name" name="gs_provider_name" >
	<input type="hidden" id="gs_provider_engname" name="gs_provider_engname" >
	<input type="hidden" id="gs_corp_property" name="gs_corp_property" >
	<input type="hidden" id="gs_credit_level" name="gs_credit_level" >
	<input type="hidden" id="gs_corp_addr" name="gs_corp_addr" >
	<input type="hidden" id="gs_corp_post" name="gs_corp_post" >
	<input type="hidden" id="gs_principal_id" name="gs_principal_id" >
	<input type="hidden" id="gs_principal_phone" name="gs_principal_phone" >
	<input type="hidden" id="gs_contact_id" name="gs_contact_id" >
	<input type="hidden" id="gs_contact_phone" name="gs_contact_phone" >
	<input type="hidden" id="gs_reside_country" name="gs_reside_country" >
	<input type="hidden" id="gs_reside_province" name="gs_reside_province" >
	<input type="hidden" id="gs_reside_city" name="gs_reside_city" >
	<input type="hidden" id="gs_work_trade" name="gs_work_trade" >
	<input type="hidden" id="gs_work_manufacture" name="gs_work_manufacture" >
	<input type="hidden" id="gs_work_scope" name="gs_work_scope" >
</form>
</body>
<script language='javascript'>	
	function onsubmit()
	{
		//alert("gs_provider_id is " + parent.document.iframe2.gs_provider_id.value);
		document.getElementById("gs_provider_id").value = parent.document.iframe2.gs_provider_id.value;
		document.getElementById("gs_provider_shortname").value = parent.document.iframe2.gs_provider_shortname.value;
		document.getElementById("gs_provider_name").value = parent.document.iframe2.gs_provider_name.value;
		document.getElementById("gs_provider_engname").value = parent.document.iframe2.gs_provider_engname.value;
		document.getElementById("gs_corp_property").value = parent.document.iframe2.gs_corp_property.value;
		document.getElementById("gs_credit_level").value = parent.document.iframe2.gs_credit_level.value;
		document.getElementById("gs_corp_addr").value = parent.document.iframe2.gs_corp_addr.value;
		document.getElementById("gs_corp_post").value = parent.document.iframe2.gs_corp_post.value;
		document.getElementById("gs_principal_id").value = parent.document.iframe2.gs_principal_id.value;
		document.getElementById("gs_principal_phone").value = parent.document.iframe2.gs_principal_phone.value;
		document.getElementById("gs_contact_id").value = parent.document.iframe2.gs_contact_id.value;
		document.getElementById("gs_contact_phone").value = parent.document.iframe2.gs_contact_phone.value;
		document.getElementById("gs_reside_country").value = parent.document.iframe2.gs_reside_country.value;
		document.getElementById("gs_reside_province").value = parent.document.iframe2.gs_reside_province.value;
		document.getElementById("gs_reside_city").value = parent.document.iframe2.gs_reside_city.value;
		document.getElementById("gs_work_trade").value = parent.document.iframe2.gs_work_trade.value;
		document.getElementById("gs_work_manufacture").value = parent.document.iframe2.gs_work_manufacture.value;
		document.getElementById("gs_work_scope").value = parent.document.iframe2.gs_work_scope.value;	
		document.checkform.action="<%= root + "/A180705.do"%>";	
		document.checkform.submit();
	}
</script>
</html>
<script language='javascript'>
	onsubmit();
</script>

